import type { HotItem, HotParams } from '@/types/hot'
import { http } from '@/utils/http'

/**
 * 热门推荐:特惠推荐、爆款、一站买全、新鲜好物
 */
export const getHotAPI = (url: string, data?: HotParams) => {
  return http<HotItem>({
    method: 'GET',
    url,
    data,
  })
}
